from django.contrib import admin

# Register your models here.
from .models import Title, Content


class TitleForm(admin.ModelAdmin):
    list_display = ['id','title']


admin.site.register(Title, TitleForm)


class ContentForm(admin.ModelAdmin):

    list_display = ['text', 'title_id']


admin.site.register(Content, ContentForm)
